package guestbook;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

/*
 * this class is a singleton class that create a persistence manager factory
 */
public final class PMF {    
	private static final PersistenceManagerFactory 
	pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional");    
	private PMF() {};    
	public static PersistenceManagerFactory get() 
	{        return pmfInstance;   
		}
	}